package com.caxxb.util;

public class ResponseData {

    //自定义code=0，正常的状态
    private int code = 0;
    //操作成功与否消息
    private String msg ="success";

    public ResponseData() {
    }

    public ResponseData(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
